home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
etc
/
init.d
/
pppd-dns
< prev
next >
Wrap
Text File
|
2008-10-15
|
408b
|
17 lines
#!/bin/sh -e
### BEGIN INIT INFO
# Provides: pppd-dns
# Required-Start: $local_fs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# Short-Description: Restore resolv.conf if the system crashed.
### END INIT INFO
#
# Restore /etc/resolv.conf if the system crashed before the ppp link
# was shut down.
[ -x /etc/ppp/ip-down.d/0000usepeerdns ] \
&& exec /etc/ppp/ip-down.d/0000usepeerdns